<ion-content has-subheader="false">

	<ion-list>
		<ion-item href="#" ng-repeat="message in messages">
			{{message}}
		  <ion-option-button class="button-assertive" ng-click="remove(message)">
		    删除
		  </ion-option-button>			
		</ion-item>
	</ion-list>
	
</ion-content>

<ion-footer-bar class="bar-stable">
	<div class="col col-33"><input ng-model="newMsg" type="text"></div>
	<button class="button col col-33"  ng-click="add()">
	增加
	</button>
	<button class="button col col-33"  ng-click="removeAll()">
	xxx
	</button>	
</ion-footer-bar>